From 7b79adcbcf0ef7c791e0c679ca946243c9dde7f7 Mon Sep 17 00:00:00 2001
From: Mqdd <ahmadmiqdad27@gmail.com>
Date: Thu, 19 Feb 2026 16:50:59 +0700
Subject: <Miqdad> fix cannonical tag

---
 src/pages/searchkey/[slug].jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/searchkey/[slug].jsx')

diff --git a/src/pages/searchkey/[slug].jsx b/src/pages/searchkey/[slug].jsx
index 2fa3cf8d..fbe72dae 100644
--- a/src/pages/searchkey/[slug].jsx
+++ b/src/pages/searchkey/[slug].jsx
@@ -81,7 +81,7 @@ export default function KeywordPage() {
             content: `Beli ${readableSlug}, harga ${readableSlug}, ${readableSlug} murah`,
           },
         ]}
-        canonical={`${process.env.NEXT_PUBLIC_SELF_HOST}${route.asPath}`}
+        canonical={`${process.env.NEXT_PUBLIC_SELF_HOST}/searchkey/${slugRaw}`}
       />
 
       {/* ✅ Breadcrumb (auto fetch via component) */}
-- 
cgit v1.2.3

